This is identical to the previous example... except that instead of Channel(), we use BroadcastChannel().

A BroadcastChannel() delivers each item to each active consumer at the time that the item is sent. So, in this case, with two active consumers, each of the five sent items is delivered to each of those two consumers.

You can learn more about this in:
Tags:
Run Edit